<template>
    <div>
        <bindPhone v-if="!verifyTrue" :verifyTrue="true" @verifyClick="verifyClick">
        </bindPhone>
        <confirmPassWord v-else :formData="formData1" type="mobile"></confirmPassWord>

    </div>
</template>
<script setup>


import { ref } from 'vue';
import bindPhone from '../../bindPhone/index.vue'
import confirmPassWord from './confirmPassWord.vue'
import commonHooks from "../../commonHooks";

const { changewithdrawPassword, verifyTrue } = commonHooks()
const formData1 = ref()

const verifyClick = (formData) => {
    formData1.value = formData
    const params = {
        step: 1,
        operate_type: 3,
        ...formData1.value
    }
    changewithdrawPassword(params, 1, 'mobile')
}

</script>

<style lang="scss" scoped></style>